package com.lzh.financial.service.impl;

import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzh.financial.bean.PGroupBean;
import com.lzh.financial.bean.PpayBean;
import com.lzh.financial.dao.IGroupMapper;
import com.lzh.financial.dao.IPayMapper;
import com.lzh.financial.service.IGroupService;
import com.lzh.financial.service.IPayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author reborn0530
 * 用户service实现类
 */
@Service
@Slf4j
public class GroupServiceImpl extends ServiceImpl<IGroupMapper, PGroupBean> implements IGroupService {

    @Override
    public PGroupBean getGroupById(Integer id) {
        if (ObjectUtil.isNull(id)){
            return null;
        }
        return getBaseMapper().selectById(id);
    }
}
